<include file="Public/header.php" />
<section class="container form-horizontal">
	<div class="login-header text-center">
        <h1 class="red">可来居</h1>
        <p class="text">只住得下你我的可来居</p>
    </div>
    <div class="form-content info-group row" ng-controller="userInfoCtr">
		<form action="" name="userInfo" ng-submit="save()">
			<div class="form-group ">
				<label for="userName" class="col-xs-4 col-sm-2 col-md-2 control-label">用户名：</label>
				<div class="col-xs-8 col-sm-10 col-md-10">
					<input type="text" class="form-control" name="userName" id="userName" placeholder="" value="<?php echo session('userName') ?>">
				</div>
			</div>			
			<div class="form-group">
				<label for="birthday" class="col-xs-4 col-sm-2 col-md-2 control-label">生日：</label>
				<div class="col-xs-8 col-sm-10 col-md-10">
					<input type="text" class="form-control" name="birthday" placeholder="1980-00-00" value="{$birthday}">
				</div>
			</div>
			<div class="form-group">
				<label class="col-xs-4 col-sm-2 col-md-2 control-label">性别：</label>
				<div class="col-xs-8 col-sm-10 col-md-10">
					<label class="radio-inline">
						<input type="radio" name="gender" value="0" <?php if($userInfo.gender == 1) echo checked ?>>
						男
					</label>
					<label class="radio-inline">
						<input type="radio" name="gender" value="0" <?php if($userInfo.gender == 0) echo checked ?>>
						女
					</label>
				</div>
			</div>
			<div class="form-group">
				<label for="userName" class="col-xs-4 col-sm-2 col-md-2 control-label">寄语：</label>
				<div class="col-xs-8 col-sm-10 col-md-10">
					<textarea class="form-control" name="userName" placeholder="满满的寄语">{$holp}</textarea>
				</div>
			</div>
			<div class="form-group clearfix">
				<div class="col-ms-12 col-xs-12 col-md-12">
					<input type="submit" class="pull-right btn btn-primary" value="修改">
				</div>
			</div>
		</form>
	</div>
</section>
<script type="text/javascript" src="__PUBLIC__/client/js/static/info.controller.js"></script>



